<template>
    <cu-custom bgColor="bg-green">
        <template v-slot:content>首页</template>
    </cu-custom>
    <view class="text-center">首页</view>
    <view class="cu-tabbar-height"></view>
</template>

<script setup>
    import {reactive, ref, inject} from 'vue';

    const ajax = inject('$ajax');
    const title = ref('分享标题')
</script>
<script>
    export default {
        onShareAppMessage() {
            return {
                title: this.title,
                path: '/pages/index/index',
                success: function (res) {
                }
            };
        }
    };
</script>
<style lang="scss">
</style>
